package cn.itzzx.lagou.filter;

import org.springframework.cloud.gateway.filter.GatewayFilter;
import org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory;
import org.springframework.stereotype.Component;

/**
 * TODO
 *
 * @author Martin
 * @since 1.0
 */
@Component
public class IpForbidGatewayFilterFactory extends AbstractGatewayFilterFactory<Object> {

    @Override
    public GatewayFilter apply(Object config) {
        return new IpForbidGatewayFilter();
    }
}
